import request from '@/utils/request'
import requestWuChuan from '@/utils/requestWuChuan'

// 下载pdf
export function downloadPdf(data){
  return request({
    url: '/shap/toShapAndPDF',
    method: 'post',
    responseType: 'arraybuffer',
    data: data
  })
}

// 生态适宜指导
export function guide(data){
  return requestWuChuan({
    url: '/wuchuan/guide',
    method: 'post',
    data: data
  })
}
// 灌木
export function shrub(data){
  return requestWuChuan({
    url: '/wuchuan/shrub',
    method: 'post',
    data: data
  })
}
// 乔木
export function arbor(data){
  return requestWuChuan({
    url: '/wuchuan/arbor',
    method: 'post',
    data: data
  })
}
// 同质化
export function homo(data){
  return requestWuChuan({
    url: '/wuchuan/homogenization',
    method: 'post',
    data: data
  })
}
